package com.qianya.system.face.web.patient.mapper;

import com.qianya.model.common.CommonResult;
import com.qianya.model.pojo.patient.vo.MonthVo;
import com.qianya.model.pojo.patient.vo.PatientHisPrescriptionDetailsVO;
import com.qianya.model.pojo.patient.vo.PatientHisPrescriptionVO;
import com.qianya.system.face.web.patient.model.PatientHisPrescription;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 服药日志表 Mapper 接口
 * </p>
 *
 * @author lhl
 * @since 2020-07-07
 */
public interface PatientHisPrescriptionMapper extends BaseMapper<PatientHisPrescription> {
    //List<PatientHisPrescriptionVO> today(@Param("begin") String begin,@Param("end") String end,@Param("pageSize")int pageSize);
    List<MonthVo> eatStatistics(@Param("begin") String begin, @Param("end") String end);
    List<MonthVo> nursePharmacyStatistics(@Param("begin") String begin, @Param("end") String end,@Param("userId")String userId, @Param("type")Integer type);
    List<PatientHisPrescriptionDetailsVO> patientOneDayMedicineDateils(@Param("fileIdentityCard")String fileIdentityCard, @Param("begin")String begin, @Param("end")String end);
}
